<template>

  <div class="headPad Fixed">
    <title-box v-if="store.state.currentCom===0"></title-box>
    <add-box v-else></add-box>

  </div>

</template>

<script setup lang="ts">
import store from "../store";
import TitleBox from "./titleBox.vue";
import AddBox from "./addBox.vue";

</script>

<style scoped>

.headPad
  {
    @apply text-white align-text-bottom bg-blue-500 w-full h-14 p-2.5;
  }

</style>